package com.caocaog.market.constant;

/**
 * @author liguang
 * @version 1.0.0
 * @Project jeecg-boot
 * @Package com.caocaog.market.constant
 * @ClassName MarketConstant.java
 * @createTime 2021年11月30日 10:39:00
 * @Description 系统中用到的常量，可以放在这里
 */
public class MarketConstant {
    // 执行定时任务的端口号
    public static final String SCHEDULED_PORT = "9093";
    /**
     * 来源  1ios 2android 3微信小程序
     */
    // IOS
    public static final Integer SOURCE_IOS = 1;
    //Android
    public static final Integer SOURCE_ANDROID = 2;
    //微信小程序-曹操来了
    public static final Integer SOURCE_WX_MINI = 3;
    // 字节小程序-曹操来了
    public static final Integer SOURCE_TK_MINI = 5;
    //微信小程序-送大侠
    public static final Integer SOURCE_WX_MINI_4 = 4;


    /**
     * 用户类型
     */
    // 系统用户
    public static final Integer USER_TYPE_SYSTEM = 1;
    // 分站用户
    public static final Integer USER_TYPE_SITE = 2;
    // 商家用户
    public static final Integer USER_TYPE_MERCHANT = 3;

    /**
     * 商家审核结果
     */
    // 退回
    public static final Integer MERCHANT_CHECK_TH = -1;
    // 审核不通过
    public static final Integer MERCHANT_CHECK_BTG = -2;
    // 待审核
    public static final Integer MERCHANT_CHECK_DSH = 0;
    // 审核通过
    public static final Integer MERCHANT_CHECK_SHTG = 1;

    /**
     * 商家类型
     */
    // 外卖
    public static final String MARCHANT_CHECK_TAKEOUT = "1";
    // 家政服务
    public static final String MARCHANT_CHECK_SERVE = "2";

    /**
     * 账务账单——账单状态
     */
    // 待结算
    public static final int FINANCE_PAY_STATUS_DJS = 1;
    // 已结算
    public static final int FINANCE_PAY_STATUS_YJS = 2;
    // 待退款
    public static final int FINANCE_PAY_STATUS_DTK = 3;
    // 待退款
    public static final int FINANCE_PAY_STATUS_YTK = 4;

    /**
     * 账务账单——支付方式（支付渠道）
     */
    // 微信
    public static final int FINANCE_PAY_WAY_WECHAT = 1;
    // APP
    public static final int FINANCE_PAY_WAY_APP = 2;

    /**
     * 账务账单——支付方式（支付渠道）
     */
    //正常付款
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_ZCFK = 1;
    //退款申请系统审核通过
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_TKSHTG = 2;
    //客户的退款申请系统审核通过且退款成功
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_TKCG = 3;
    //客户的退款申请系统审核通过但退款失败
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_TKSB = 4;
    //结算完成
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_JSWC = 5;
    //待审核
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_DSJSH = 6;
    // 订单强制完成，将账单改为待结算
    public static final int FINANCE_PAY_STATUS_CHANGE_REASON_FORCE_COMPLETION = 7;

    /**
     * 财务账单类型
     */
    // 系统
    public static final int FINANCE_BILL_LINE_TYPE_SYS = 1;
    // 分站
    public static final int FINANCE_BILL_LINE_TYPE_SITE = 2;
    // 门店
    public static final int FINANCE_BILL_LINE_TYPE_SHOP = 3;

    /**
     * 账单行备注
     */
    public static final String FINANCE_BILL_LINE_MARK_NORMAL_SETTLE = "系统正常结算";

    /**
     * 提现状态
     * 提现状态（1待提现、2已提出提现申请待总部审核、3提现申请审核通过待转账、4提现申请被驳回、5已提现）
     */
    public static final Integer FINANCE_BILL_LINE_WITHDRAW_CASH_DTX = 1;
    public static final Integer FINANCE_BILL_LINE_WITHDRAW_CASH_YSQDSH = 2;
    public static final Integer FINANCE_BILL_LINE_WITHDRAW_CASH_SHTGDZZ = 3;
    public static final Integer FINANCE_BILL_LINE_WITHDRAW_CASH_BH = 4;
    public static final Integer FINANCE_BILL_LINE_WITHDRAW_CASH_YTX = 5;

    /**
     * 店铺 推荐店铺1:推荐 0:非推荐
     */
    public static final int SHOP_BASIC_RECOMMEND_YES = 1;
    public static final int SHOP_BASIC_RECOMMEND_NO = 1;


    /**
     * 字符串分隔所用到的  分隔符
     */
    public static final String SPLIT_STR = ":::::::";
    /**
     * 系统前缀
     */
    public static final String FINANCE_SYS_PREFIX = "sys_";
    /**
     * 分站前缀
     */
    public static final String FINANCE_SITE_PREFIX = "site_";
    /**
     * 门店前缀
     */
    public static final String FINANCE_SHOP_PREFIX = "shop_";

}
